package cn.jhh.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

//新增大章节、小章节
@ApiModel("课程计划新增/修改")
@Data
public class SaveTeachPlanDto {
    @ApiModelProperty(value = "课程计划ID")
    private Long id;
    @ApiModelProperty(value = "课程计划名称")
    private String pname;
    @ApiModelProperty(value = "课程计划父级Id")
    private Long parentid;
    @ApiModelProperty(value = "层级，分为1、2、3级")
    private Integer grade;
    @ApiModelProperty(value = "课程类型:1视频、2文档")
    private String mediaType;
    @ApiModelProperty(value = "开始直播时间")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "直播结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty(value = "课程标识")
    private Long courseId;
    @ApiModelProperty(value = "课程发布标识")
    private Long coursePubId;
    @ApiModelProperty(value = "是否支持试学或预览（试看）")
    private String isPreview;
}
